package design_4_builder.demo2.builder;

/**
 * 角色属性类
 *
 * @author wangsong
 * @email 1720696548@qq.com
 * @date 2022/4/12 14:32
 */
public class Role {

	private String theBody;   // 身体 (职业通用)
	private String head;      // 头部 (职业通用)
	private String hand;      // 手部 (职业通用)
	private String leg;       // 腿部 (职业通用)
	private String weapons;   // 武器 (剑斗士独有)


	public String getTheBody() {
		return theBody;
	}

	public void setTheBody(String theBody) {
		this.theBody = theBody;
	}

	public String getHead() {
		return head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	public String getHand() {
		return hand;
	}

	public void setHand(String hand) {
		this.hand = hand;
	}

	public String getLeg() {
		return leg;
	}

	public void setLeg(String leg) {
		this.leg = leg;
	}

	public String getWeapons() {
		return weapons;
	}

	public void setWeapons(String weapons) {
		this.weapons = weapons;
	}

	@Override
	public String toString() {
		return "Role{" +
				"theBody='" + theBody + '\'' +
				", head='" + head + '\'' +
				", hand='" + hand + '\'' +
				", leg='" + leg + '\'' +
				", weapons='" + weapons + '\'' +
				'}';
	}
}

